package org.raymond.iworks.study.basic.designpattern.facade;

/**
 * @author raymond
 * @version V1.0
 * @Description: TODO
 */
public class TheaterLights {
    private TheaterLights(){}
    private final static class Holder {
        private final static TheaterLights instance = new TheaterLights();
    }
    public static TheaterLights getInstance(){
        return TheaterLights.Holder.instance;
    }
    public void on(){
        System.out.println("theaterLights on");
    }
    public void off(){
        System.out.println("theaterLights off");
    }
    public void dim(){
        System.out.println("theaterLights dim");
    }
    public void bright(){
        System.out.println("theaterLights bright");
    }
}
